home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
jazclib1.arc
/
JZCPYWND.C
< prev
next >
Wrap
Text File
|
1986-05-17
|
845b
|
24 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzcpywnd.c │
│This routine copies a window into another window. This us useful in │
│situations where you have written information to a window and would like │
│to save the text in the window in order to move it to another location. │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
#include <jaz.h>
#include <jzscreen.h>
extern THEADER g_header;
TWINDOW *jzcpywnd(fwindow , fwindnum)
TWINDOW *fwindow; /* pointer to window to copy */
int fwindnum; /* number to assign to this window */
{
return(jzappend(&g_header,0,fwindow->row1,fwindow->col1,
fwindow->row2,fwindow->col2,fwindnum));
}